﻿<%@ Control Language="vb" AutoEventWireup="false" Explicit="true" CodeFile="DetailDSK.ascx.vb" Inherits="NVPortal.Modules.NVNews.DetailDSK" %>
<style type="text/css">
.HHBCHtable {padding: 10px 0px; border-bottom: dotted 1px #eee;}
.hplFullNameHHa, a.hplFullNameHHa:link, a.hplFullNameHHa:visited {font-size: 13px; color: #B02020;line-height: 130%; font-family: Tahoma;}
a.hplFullNameHHa:hover {font-size: 13px; color: #000;line-height: 130%;font-family: Tahoma;}
.IMGNewsDSK {margin-right: 8px;}
</style>            
<asp:UpdatePanel ID="UPNLichthidau" runat="server">
    <ContentTemplate>
            <asp:GridView ID="drgOtherNews" AutoGenerateColumns="False" runat="server" SelectedIndex="1"  AllowPaging="True" EnableViewState="False" PageSize="10" Width="100%">
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="HHBCHtable">
                                <tr><td style="padding: 7px 0px;">
                                    <asp:HyperLink CssClass="hplFullNameHHa" id="hplOtherNews" runat="server" NavigateUrl='<%# FormatURL("noidung",DataBinder.Eval(Container.DataItem,"idNews"),GetTitleNews(DataBinder.Eval(Container.DataItem,"idNews"))) %>' text='<%# GetTitleNews(DataBinder.Eval(Container.DataItem,"idNews"))%>'></asp:HyperLink>
                                </td></tr>
                                <tr>
                                    <td class="NewsSpecialD3_td2" style="vertical-align: top;">
                                        <asp:HyperLink CssClass="NewsSpecialD3_Orther" id="HyperLink1" runat="server" NavigateUrl='<%# FormatURL("noidung",DataBinder.Eval(Container.DataItem,"idNews"),GetTitleNews(DataBinder.Eval(Container.DataItem,"idNews"))) %>'>     
                                            <asp:Image CssClass="IMGNewsDSK" Style="padding: 2px; border: 1px solid #e4e4e4;" BorderWidth="0" ImageAlign="left" ID="imgNews" runat="server" Width="120" ImageUrl ='<%# PortalSettings.HomeDirectory & "news/" & GetIMG(DataBinder.Eval(Container.DataItem,"idNews")) %>' /></asp:HyperLink>
                                        <asp:Label ID="lblSumaary" Font-Names="tahoma" Font-Size="12px" Font-Bold="false" ForeColor="#434343" runat="server" Text='<%# GetSumNews(DataBinder.Eval(Container.DataItem,"idNews"))%>'></asp:Label>
                                    </td>
                                </tr>
		                    </table>
                </ItemTemplate>
        </asp:TemplateField>
       
    </Columns>
    <PagerStyle CssClass="PhantrangTD"
        BorderColor="#cccccc" BorderStyle="Solid" BorderWidth="1px" Height="20px" 
        Width="20px" />
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
